package com.ganzi.ganziserver.service;

import com.ganzi.ganziserver.core.CollectInformation;
import com.ganzi.ganziserver.core.ControlLog;
import com.ganzi.ganziserver.core.OtherInformation;

import java.sql.Timestamp;
import java.util.List;

public interface ControlLogService {

    public void saveLogForControl(long fanId,String type,String value,int code,String stateInformation,String infoId) throws Exception;
    public void saveLogForQuery(int code, String stateInformation, String infoId, long schoolId, OtherInformation other,int type,String value) throws Exception;
    public List<ControlLog> findLog(long userId, long schoolId, int sendState, long beforeTime, long afterTime)throws Exception;
    public int findLogCount(long userId, long schoolId, int sendState, long beforeTime, long afterTime)throws Exception;
    public List<CollectInformation> findCollectInformation(long fanId, long beforTime, int size)throws Exception;
}
